const defaultPayload = {}

export const loadFinshAction = {
  type:"LIST_LOAD"
}

export const initTaskList = (tasks) =>{
  console.log("tasks",tasks);
  defaultPayload.data = tasks;
  return {
      type:"INIT_TASK_LIST",
      payload:defaultPayload
  }
}

